<?php
##################################################
#
# Copyright (c) 2004-2013 OIC Group, Inc.
#
# This file is part of Exponent
#
# Exponent is free software; you can redistribute
# it and/or modify it under the terms of the GNU
# General Public License as published by the Free
# Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# GPL: http://www.gnu.org/licenses/gpl.txt
#
##################################################

$maps = array();

//// Find news by the date of the news post.  URL would look like news/20137/10/18 to find all the posts on Oct 18, 2013
//$maps[] = array('controller' => 'news',
//                'action'     => 'showall_by_date',
//                'url_parts'  => array(
//                    'controller' => 'news',
//                    'year'       => '(19|20)\d\d',
//                    'month'      => '[01]?\d',
//                    'day'        => '[0-3]?\d'
//                ),
//);
//$maps[] = array('controller' => 'news',
//                'action'     => 'showall_by_date',
//                'url_parts'  => array(
//                    'controller' => 'news',
//                    'year'       => '(19|20)\d\d',
//                    'month'      => '[01]?\d',
//                ),
//);
//$maps[] = array('controller' => 'news',
//                'action'     => 'showall_by_date',
//                'url_parts'  => array(
//                    'controller' => 'news',
//                    'year'       => '(19|20)\d\d'
//                ),
//);
//// Find news by the title.  URL would look like news/my-news-title
//$maps[] = array('controller' => 'news',
//                'action'     => 'show',
//                'url_parts'  => array(
//                    'controller' => 'news',
//                    'title'      => '(.*)'
//                ),
//);
//
//// Find blog post by the title.  URL would look like blog/my-post-title
//$maps[] = array('controller' => 'blog',
//                'action'     => 'show',
//                'url_parts'  => array(
//                    'controller' => 'blog',
//                    'title'      => '(.*)'
//                ),
//);
//// Find blog posts by the tag.  URL would look like view-blogs-by-tag/my-tag
//$maps[] = array('controller' => 'blog',
//                'action'     => 'showall_by_tags',
//                'url_parts'  => array(
//                    'controller' => 'view-blogs-by-tag',
//                    'title'      => '(.*)'
//                ),
//);
//// Find blog posts by date.  URL would look like blog/2013/05
//$maps[] = array('controller' => 'blog',
//                'action'     => 'showall_by_date',
//                'url_parts'  => array(
//                    'controller' => 'blog',
//                    'year'       => '(19|20)\d\d',
//                    'month'      => '[01]?\d',
//                ),
//);
//// Find blog posts by author.  URL would look like view-blogs-by-author/author-username
//$maps[] = array('controller' => 'blog',
//                'action'     => 'showall_by_author',
//                'url_parts'  => array(
//                    'controller' => 'view-blogs-by-author',
//                    'author'     => '(.*)'
//                ),
//);
//
//// Find filedownloads by the title.  URL would look like file/my-file-title
//$maps[] = array('controller' => 'filedownload',
//                'action'     => 'show',
//                'url_parts'  => array(
//                    'controller' => 'file',
//                    'title'      => '(.*)'
//                ),
//);
//
////FIXME Find products by the category title .  URL would look like browse-store/my-product-category-title
//$maps[] = array('controller' => 'store',
//                'action'     => 'showall',
//                'url_parts'  => array(
//                    'controller' => 'browse-store',
//                    '   title'   => '(.*)'
//                ),
//);
//// Find product by the title .  URL would look like store/my-product-title
//$maps[] = array('controller' => 'store',
//                'action'     => 'show',
//                'url_parts'  => array(
//                    'controller' => 'store',
//                    'title'      => '(.*)'
//                ),
//);
//
//// Find help by the version and title.  URL would look like docs/2.0.1/my-help-title
//$maps[] = array(
//    'controller' => 'help',
//    'action'     => 'show',
//    'version'    => 'current',
//    'url_parts'  => array(
//        'controller' => 'docs',
//        'version'    => '(.*)',
//        'title'      => '(.*)'
//    ),
//);
//// Find current help doc by the title.  URL would look like docs/my-help-title
//$maps[] = array(
//    'controller' => 'help',
//    'action'     => 'show',
//    'version'    => 'current',
//    'url_parts'  => array(
//        'controller' => 'docs',
//        'title'      => '(.*)'
//    ),
//);

?>